//private equipDrop(): number {
    class npc extends EventDispatcher {
        x:number = 0;
        y:number = 0;
        view: ImageBitmap;
        id: number;
        attack: number;
        dropTime = 1;
        exp: number = 0;
        defence: number;
 

    }